package com.test;
import com.dao.myfileDao;
import com.domain.myfile;
import com.service.myfileService;
import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;
public class myfiletest {
    @Autowired
    private myfileDao myfileDao2;

    @Test
    public void findAll() throws IOException {
        //使用代理对象执行方法
        System.out.println(myfileDao2);
//        myfile.updateFileloadtimeByfilename(11,"专业设计题目.doc");
    }
}
